﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/// <summary>
/// Log interface
/// </summary>
public interface ILog
{
    /// <summary>
    /// Gets a value indicating whether this instance is debug enabled.
    /// </summary>
    /// <value>
    /// 	<c>true</c> if this instance is debug enabled; otherwise, <c>false</c>.
    /// </value>
    bool IsDebugEnabled { get; }

    /// <summary>
    /// Gets a value indicating whether this instance is error enabled.
    /// </summary>
    /// <value>
    /// 	<c>true</c> if this instance is error enabled; otherwise, <c>false</c>.
    /// </value>
    bool IsErrorEnabled { get; }

    /// <summary>
    /// Gets a value indicating whether this instance is fatal enabled.
    /// </summary>
    /// <value>
    /// 	<c>true</c> if this instance is fatal enabled; otherwise, <c>false</c>.
    /// </value>
    bool IsFatalEnabled { get; }

    /// <summary>
    /// Gets a value indicating whether this instance is info enabled.
    /// </summary>
    /// <value>
    /// 	<c>true</c> if this instance is info enabled; otherwise, <c>false</c>.
    /// </value>
    bool IsInfoEnabled { get; }

    /// <summary>
    /// Gets a value indicating whether this instance is warn enabled.
    /// </summary>
    /// <value>
    /// 	<c>true</c> if this instance is warn enabled; otherwise, <c>false</c>.
    /// </value>
    bool IsWarnEnabled { get; }

    /// <summary>
    /// Logs the debug message.
    /// </summary>
    /// <param name="message">The message.</param>
    void Debug(object message);

    /// <summary>
    /// Logs the debug message.
    /// </summary>
    /// <param name="message">The message.</param>
    /// <param name="exception">The exception.</param>
    void Debug(object message, Exception exception);

    /// <summary>
    /// Logs the debug message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    void DebugFormat(string format, object arg0);

    /// <summary>
    /// Logs the debug message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="args">The args.</param>
    void DebugFormat(string format, params object[] args);

    /// <summary>
    /// Logs the debug message.
    /// </summary>
    /// <param name="provider">The provider.</param>
    /// <param name="format">The format.</param>
    /// <param name="args">The args.</param>
    void DebugFormat(IFormatProvider provider, string format, params object[] args);

    /// <summary>
    /// Logs the debug message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    /// <param name="arg1">The arg1.</param>
    void DebugFormat(string format, object arg0, object arg1);

    /// <summary>
    /// Logs the debug message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    /// <param name="arg1">The arg1.</param>
    /// <param name="arg2">The arg2.</param>
    void DebugFormat(string format, object arg0, object arg1, object arg2);

    /// <summary>
    /// Logs the error message.
    /// </summary>
    /// <param name="message">The message.</param>
    void Error(object message);

    /// <summary>
    /// Logs the error message.
    /// </summary>
    /// <param name="message">The message.</param>
    /// <param name="exception">The exception.</param>
    void Error(object message, Exception exception);

    /// <summary>
    /// Logs the error message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    void ErrorFormat(string format, object arg0);

    /// <summary>
    /// Logs the error message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="args">The args.</param>
    void ErrorFormat(string format, params object[] args);

    /// <summary>
    /// Logs the error message.
    /// </summary>
    /// <param name="provider">The provider.</param>
    /// <param name="format">The format.</param>
    /// <param name="args">The args.</param>
    void ErrorFormat(IFormatProvider provider, string format, params object[] args);

    /// <summary>
    /// Logs the error message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    /// <param name="arg1">The arg1.</param>
    void ErrorFormat(string format, object arg0, object arg1);

    /// <summary>
    /// Logs the error message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    /// <param name="arg1">The arg1.</param>
    /// <param name="arg2">The arg2.</param>
    void ErrorFormat(string format, object arg0, object arg1, object arg2);

    /// <summary>
    /// Logs the fatal error message.
    /// </summary>
    /// <param name="message">The message.</param>
    void Fatal(object message);

    /// <summary>
    /// Logs the fatal error message.
    /// </summary>
    /// <param name="message">The message.</param>
    /// <param name="exception">The exception.</param>
    void Fatal(object message, Exception exception);

    /// <summary>
    /// Logs the fatal error message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    void FatalFormat(string format, object arg0);

    /// <summary>
    /// Logs the fatal error message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="args">The args.</param>
    void FatalFormat(string format, params object[] args);

    /// <summary>
    /// Logs the fatal error message.
    /// </summary>
    /// <param name="provider">The provider.</param>
    /// <param name="format">The format.</param>
    /// <param name="args">The args.</param>
    void FatalFormat(IFormatProvider provider, string format, params object[] args);

    /// <summary>
    /// Logs the fatal error message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    /// <param name="arg1">The arg1.</param>
    void FatalFormat(string format, object arg0, object arg1);

    /// <summary>
    /// Logs the fatal error message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    /// <param name="arg1">The arg1.</param>
    /// <param name="arg2">The arg2.</param>
    void FatalFormat(string format, object arg0, object arg1, object arg2);

    /// <summary>
    /// Logs the info message.
    /// </summary>
    /// <param name="message">The message.</param>
    void Info(object message);

    /// <summary>
    /// Logs the info message.
    /// </summary>
    /// <param name="message">The message.</param>
    /// <param name="exception">The exception.</param>
    void Info(object message, Exception exception);

    /// <summary>
    /// Logs the info message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    void InfoFormat(string format, object arg0);

    /// <summary>
    /// Logs the info message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="args">The args.</param>
    void InfoFormat(string format, params object[] args);

    /// <summary>
    /// Logs the info message.
    /// </summary>
    /// <param name="provider">The provider.</param>
    /// <param name="format">The format.</param>
    /// <param name="args">The args.</param>
    void InfoFormat(IFormatProvider provider, string format, params object[] args);

    /// <summary>
    /// Logs the info message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    /// <param name="arg1">The arg1.</param>
    void InfoFormat(string format, object arg0, object arg1);

    /// <summary>
    /// Logs the info message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    /// <param name="arg1">The arg1.</param>
    /// <param name="arg2">The arg2.</param>
    void InfoFormat(string format, object arg0, object arg1, object arg2);

    /// <summary>
    /// Logs the warning message.
    /// </summary>
    /// <param name="message">The message.</param>
    void Warn(object message);

    /// <summary>
    /// Logs the warning message.
    /// </summary>
    /// <param name="message">The message.</param>
    /// <param name="exception">The exception.</param>
    void Warn(object message, Exception exception);

    /// <summary>
    /// Logs the warning message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    void WarnFormat(string format, object arg0);

    /// <summary>
    /// Logs the warning message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="args">The args.</param>
    void WarnFormat(string format, params object[] args);

    /// <summary>
    /// Logs the warning message.
    /// </summary>
    /// <param name="provider">The provider.</param>
    /// <param name="format">The format.</param>
    /// <param name="args">The args.</param>
    void WarnFormat(IFormatProvider provider, string format, params object[] args);

    /// <summary>
    /// Logs the warning message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    /// <param name="arg1">The arg1.</param>
    void WarnFormat(string format, object arg0, object arg1);

    /// <summary>
    /// Logs the warning message.
    /// </summary>
    /// <param name="format">The format.</param>
    /// <param name="arg0">The arg0.</param>
    /// <param name="arg1">The arg1.</param>
    /// <param name="arg2">The arg2.</param>
    void WarnFormat(string format, object arg0, object arg1, object arg2);
}
